package com.arithmetic.version2;

public class ExerciseSheet {

    public static void main(String[] args) {
        // 测试50道加法习题
        System.out.println("50道加法习题:");
        Exercise additionExercise = new Exercise();
        additionExercise.generateAdditionExercise(50);
        additionExercise.formateAndDisplay(5);
        System.out.println();

        // 测试50道减法习题
        System.out.println("50道减法习题:");
        Exercise substractExercise = new Exercise();
        substractExercise.generateSubstractExercise(50);
        substractExercise.formateAndDisplay(5);
        System.out.println();

        // 测试50道混合习题
        System.out.println("50道加减法混合习题:");
        Exercise mixedExercise = new Exercise();
        mixedExercise.generateBinaryExercise(50);
        mixedExercise.formateAndDisplay(5);
    }
}
